package com.fqgj.xjd.user.dao.impl;

import com.fqgj.common.base.AbstractBaseMapper;
import com.fqgj.xjd.user.dao.UserFaceScoreDao;
import com.fqgj.xjd.user.entity.UserFaceScoreEntity;
import org.springframework.stereotype.Repository;

/**
 * User: liuming
 * Date: 2018-11-28
 * Time: 14:40:39.558
 */
@Repository
public class UserFaceScoreDaoImpl extends AbstractBaseMapper<UserFaceScoreEntity> implements UserFaceScoreDao {

    @Override
    public int deleteByUserCode(String userCode) {
        return getSqlSession().update(getStatement("deleteByUserCode"), userCode);
    }
}